﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevComponents.DotNetBar;

namespace QuanLyHocPhi
{
    public partial class frmMain : DevComponents.DotNetBar.Metro.MetroForm
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void btiSinhvien_Click(object sender, EventArgs e)
        {
            frmSinhvien frm = new frmSinhvien();
            frm.Text = "Quản Lý Sinh Viên";
            frm.MdiParent = this;
            frm.Show();
        }

        private void btiLophoc_Click(object sender, EventArgs e)
        {
            frmLophoc frm = new frmLophoc();
            frm.Text = "Quản Lý Lớp học";
            frm.MdiParent = this;
            frm.Show();
        }

        private void btiPhidoituong_Click(object sender, EventArgs e)
        {
            frmPhidoituong frm = new frmPhidoituong();
            frm.Text = "Quản Lý Phí đối tượng";
            frm.MdiParent = this;
            frm.Show();
        }

        private void btiTygia_Click(object sender, EventArgs e)
        {
            frmTygia frm = new frmTygia();
            frm.Text = "Quản Lý tỷ giá";
            frm.MdiParent = this;
            frm.Show();
        }

        private void buttonItem3_Click(object sender, EventArgs e)
        {
            frmDangnhap frm = new frmDangnhap();
            frm.Close();
        }

        private void buttonItem2_Click(object sender, EventArgs e)
        {
            frmDangnhap frm = new frmDangnhap();
            frm.MdiParent = this;
            frm.Show();
        }

        private void btiHoadon_Click(object sender, EventArgs e)
        {
            frmHoadon frm = new frmHoadon();
            frm.MdiParent = this;
            frm.Show();
        }

        private void btiThuphi_Click(object sender, EventArgs e)
        {
            frmThuphi frm = new frmThuphi();
            frm.MdiParent = this;
            frm.Show();
        }

        private void lblChay_Click(object sender, EventArgs e)
        {

        }

        private void buttonItem16_Click(object sender, EventArgs e)
        {
            Help.ShowHelp(this, helpProvider.HelpNamespace, HelpNavigator.TableOfContents);
        }

        private void btiPhanlop_Click(object sender, EventArgs e)
        {
            frmPhanlop frm = new frmPhanlop();
            frm.MdiParent = this;
            frm.Show();
        }

        private void frmMain_Load(object sender, EventArgs e)
        {

        }

        private void buttonItem12_Click(object sender, EventArgs e)
        {

        }

        private void buttonItem14_Click(object sender, EventArgs e)
        {
            frmThongkechuadonghp fUnpaid = new frmThongkechuadonghp();
            fUnpaid.MdiParent = this;
            fUnpaid.Show();
        }

        private void buttonItem15_Click(object sender, EventArgs e)
        {
            frmThongkedadonghp fPaid = new frmThongkedadonghp();
            fPaid.MdiParent = this;
            fPaid.Show();
        }

       // public int i = 3;
       // private void timer1_Tick(object sender, EventArgs e)
       // {
            //lblChay.Left += i;
            // if (lblChay.Left >= this.Width - lblChay.Width || lblChay.Left<=0)
               // i=-i;
               
            
        //}

        
        
        
        


       

        

        

     
    }
}